<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>水果管理</title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body>
  <h1 class="heading">水果管理</h1>
  <div class="search clearfix">
    <input id="word" type="search" class="input" placeholder="请输入名称">
    <input id="price1" type="number" class="input" placeholder="起始单价">
    <input id="price2" type="number" class="input" placeholder="结束单价">
    <select id="origin" class="input">
      <option value="">选择产地</option>
      <option value="泰国">泰国</option>
      <option value="海南岛">海南岛</option>
      <option value="智利">智利</option>
      <option value="山东">山东</option>
      <option value="新疆">新疆</option>
      <option value="江西">江西</option>
    </select>
    <button class="btn" onclick="search()">搜索</button>
    <button class="btn" onclick="add()">添加</button>
    <button class="btn" onclick="batchDel()">批量删除</button>
  </div>

  <table width="800" class="fruit">
    <thead>
      <tr>
        <th class="center"><input id="all" type="checkbox" onchange="checkAll()"></th>
        <th>序号</th>
        <th>名称</th>
        <th>产地</th>
        <th class="sort" onclick="sortBy(this,'price','number')">单价</th>
        <th class="sort" onclick="sortBy(this,'addtime','date')">日期</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody id="list"></tbody>
  </table>

  <div id="pager" class="pager"></div>

  <script type="text/javascript" src="js/main.js"></script>
</body>
</html>